import {instance} from "@/api/request.js";

const url = "/wallet";

export function getWallet() {
    return instance.get(url+"/wallet");
}
// 签到
export function signIn() {
    return instance.post(url+"/wallet/signin");
}
// 充值
export function topUpApi(dona_money) {
    return instance.get(url+"/pay/alipay", {
        params: {
            dona_money: dona_money,
            dona_id: 100,
            return_url: "192.168.1.100"
        }
    });
}
